package com.ruixun.query;

import com.ruixun.common.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;


@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = false)
@ApiModel(description = "菜单查询条件")
public class SysMenuPageQuery extends PageParam {

    @ApiModelProperty(value = "菜单名称（模糊查询）", example = "用户管理")
    private String menuName;

    @ApiModelProperty(value = "菜单类型（1:一级菜单, 2:子菜单, 3:页面,4:按钮）", example = "1")
    private Integer menuType;

    @ApiModelProperty(value = "父级菜单ID", example = "0")
    private Long parentId;

}